package convert

import (
	"strconv"
)

func StrToInt(val string) int {
	v, _ := strconv.Atoi(val)
	return v
}

func StrToInt64(val string) int64 {
	v, _ := strconv.ParseInt(val, 10, 64)
	return v
}

func IntToStr(val int) string {
	return strconv.Itoa(val)
}

func Int64ToStr(val int64) string {
	return strconv.FormatInt(val, 10)
}
